package com.example.otto.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

@Data
@TableName(value = "manager")
public class Manager {
    @TableId(type = IdType.AUTO)
    private String  id;
    private String username;
//    @JsonIgnore   //忽略不展示给前端
    private String password;
    private String nickname;
    private String phone;
}
